<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024-04-03
  Time: 14:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%!
  int count = 0;
  synchronized void counterFun(){
    count ++;
  }
%>
<%
  counterFun();
%>
网址计数器<br>
您是第<%=count%>位访问者
</body>
</html>
